package org.scub.foundation.fournisseur.egicom.core.dto;

import java.io.Serializable;

/**
 * DTO contenant les informations d'un contact.
 * @author Adrien HAUTOT (adrien.hautot@scub.net)
 */
public class FournisseurCriteresRechercheDto implements Serializable {

    /**
     * Serial Version UID.
     */
    private static final long serialVersionUID = 7728546857440718715L;

    /**
     * Identifiant du contact.
     */
    private Long id;

    /**
     * Nom du contact.
     */
    private String nom;

    /**
     * Prénom du contact.
     */
    private String prenom;

    /** Allow to search on all fields. */
    private String commonSearch;

    private boolean exclureAnniversaire = false;

    /**
     * Get the value of id.
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * Set the value of id.
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Get the value of nom.
     * @return the nom
     */
    public String getNom() {
        return nom;
    }

    /**
     * Set the value of nom.
     * @param nom the nom to set
     */
    public void setNom(String nom) {
        this.nom = nom;
    }

    /**
     * Get the value of prenom.
     * @return the prenom
     */
    public String getPrenom() {
        return prenom;
    }

    /**
     * Set the value of prenom.
     * @param prenom the prenom to set
     */
    public void setPrenom(String prenom) {
        this.prenom = prenom;
    }

    /**
     * Get the value of commonSearch.
     * @return the commonSearch
     */
    public String getCommonSearch() {
        return commonSearch;
    }

    /**
     * Set the value of commonSearch.
     * @param commonSearch the commonSearch to set
     */
    public void setCommonSearch(String commonSearch) {
        this.commonSearch = commonSearch;
    }

    /**
     * Return the value of exclureAnniversaire.
     * @return the exclureAnniversaire
     */
    public boolean isExclureAnniversaire() {
        return exclureAnniversaire;
    }

    /**
     * Modify the value of exclureAnniversaire.
     * @param exclureAnniversaire the exclureAnniversaire to set
     */
    public void setExclureAnniversaire(boolean exclureAnniversaire) {
        this.exclureAnniversaire = exclureAnniversaire;
    }
}
